import { createStore } from 'vuex'

export const GlobalData = {
  name: 'default',
  age: 'default'
}

export default createStore({
  state: {
    GlobalData
  },
  mutations: {
    getGlobalData (state, value) {
      state.GlobalData = value
    }
  },
  actions: {}
})
